import Vue from 'vue'
import {
  Button, Form, FormItem,
  Input, Message, Container,
  Header, Aside, Main,
  Submenu, MenuItem, MenuItemGroup,
  Menu, Collapse, Dropdown,
  DropdownMenu, DropdownItem, TimePicker, DatePicker,
  Select, Option, Cascader, Radio, Pagination,
  Table, TableColumn, Dialog, Upload, MessageBox,
  Tooltip, Step, Steps, RadioGroup, RadioButton, Breadcrumb, BreadcrumbItem, Tag,
  Slider, Card, ButtonGroup
} from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Menu)
Vue.use(Collapse)
Vue.use(Dropdown)
Vue.use(DropdownItem)
Vue.use(DropdownMenu)
Vue.use(TimePicker)
Vue.use(DatePicker)
Vue.use(Select)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Radio)
Vue.use(Pagination)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Dialog)
Vue.use(Upload)
Vue.use(Tooltip)
Vue.use(Step)
Vue.use(Steps)
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Tag)
Vue.use(Slider)
Vue.use(Card)
Vue.use(ButtonGroup)
Vue.prototype.$message = Message
Vue.prototype.$msgbox = MessageBox
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$alert = MessageBox.alert
